home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part I.srd / Part I.srd.rsrc / PICT_87.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  146KB  |  816x1056  |  8-bit (256 colors)
Labels: book | reckoner | sky
OCR: Lesson 16 I-83 to new poly object. and it needs the PenState variables in its ivars right away): The size parameters are stored in their respective instance valrles. Sides and Length. This method also positions an object to the home position (as defined by the HOME method in class Pen and orients it facing to the top screen (from the UP method also in class Pen) The SPIN: method is a routine that draws sequence of polygons around center point to make them look as if they are spinning. Notice that "this method has one local variable reps, which is used as counter for the number of repetitions through the BEGIN WHILE REPEAT loop. Finally the default settings for an object of class Poly are set by CLA ASSINIT: Unless otherwise speci ified a Poly object will be polygon with sides, each 30 pixe ...